use core::{ffi::c_void, mem::MaybeUninit};


#[repr(align(8))]
pub struct AlignStore<const SIZE: usize> {
    buf: MaybeUninit<[u8; SIZE]>,
}

impl <const SIZE: usize> AlignStore<SIZE> {

    pub const fn new() -> Self {
        Self { buf: MaybeUninit::uninit() }
    }

    pub const fn raw_ptr(&self) -> *mut c_void {
        self as *const Self as *mut c_void
    }
}


